<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Index</title>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/axios/1.4.0/axios.min.js" integrity="sha512-uMtXmF28A2Ab/JJO2t/vYhlaa/3ahUOgj1Zf27M5rOo8/+fcTUVH0/E0ll68njmjrLqOBjXM3V9NiPFL5ywWPQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js" integrity="sha512-3gJwYpMe3QewGELv8k/BX9vcqhryRdzRMxVfq6ngyWXwo03GFEzjsUm8Q7RZcHPHksttq7/GFoxjCVUjkjvPdw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</head>
<body>
<div class="login-box">
    <form method="post" action="/login">
        <label>username:</label> <input type="text"/> <br><br>
        <label>password:</label> <input type="password"/> <br><br>
        <button type="submit">LOGIN!</button>
    </form>
    <a href="http://localhost:8080/gitee/login">
        <img src="assets/logo-gitee.svg">
    </a>
</div>
</body>
</html>

<script>
    cookieStore.get("session_key").then(res => {
        if (!res) {
            cookieStore.set("session_key", undefined);
        }
    });
</script>

<style>
    img {
        width: 100px;
        height: 100px;
    }
</style>
